/*
 * Translator.h
 *
 *  Created on: Nov 4, 2011
 *      Author: gonzalo
 */

#ifndef TRANSLATOR_H_
#define TRANSLATOR_H_

#include "../../SDLtoolkit/Event.h"
#include "../DTO.h"
#include "../DTOAsteroide.h"
#include "../../SDLtoolkit/Asteroide.h"
#include <list>
#include "../DTOCliente.h"

class Translator {
public:

	static DTO* translate(Event& event);
	static void translateAndPushEvent(DTO* dto);
	static std::list<Asteroide*> translateAsteroideDTO(std::list<DTOAsteroide*> elements);

private:
	static DTO* translateUserEvent(Event& event);

	static void translateDTOClient(DTOCliente* dto);
};

#endif /* TRANSLATOR_H_ */


